﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Store/StoreMastePage.Master" AutoEventWireup="true" CodeBehind="TrackOrder.aspx.cs" Inherits="logicunivesityinventorystore.Store.TrackOrder" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript" type="text/javascript">
    function ShowEditModal(ExpanseID) {
        var frame = $get('IframeEdit');
        frame.src = "ViewDisbursementList.aspx";
        $find('EditModalPopup').show();
    }
    function EditCancelScript() {
        var frame = $get('IframeEdit');
        frame.src = "DemoLoading.aspx";
    }
    function EditOkayScript() {
        RefreshDataGrid();
        EditCancelScript();
    }
    function RefreshDataGrid() {
        $get('<%= Button1.ClientID %>').click();
    }
    function NewExpanseOkay() {
        $get('<%= Button1.ClientID %>').click();
    }
</script>
    <link href="../StyleSheet.css" rel="stylesheet" type="text/css" />
</asp:Content>
<asp:Content ID="Content9" runat="server" 
    contentplaceholderid="ContentPlaceHolder2">
        <h1>Track Order</h1>
            <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
      <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
    <asp:Label ID="Label1" runat="server" Text="Enter Disbursement Number"></asp:Label>
    &nbsp;
    <asp:TextBox ID="txtDisbursementNo" runat="server"></asp:TextBox>
    &nbsp;
    <asp:LinkButton ID="lbtnShowAll" runat="server">Show All</asp:LinkButton>
    &nbsp;&nbsp;&nbsp;
    <asp:LinkButton ID="lbtnView" runat="server" onclick="lbtnView_Click">View</asp:LinkButton>
        &nbsp;
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Height="1px" 
                        Width="1px"  />
        <br />
        <br />
    <asp:Label ID="Label2" runat="server" Text="Full Filled Date:"></asp:Label>
    &nbsp;&nbsp;
    <asp:Label ID="lblDateFulFilled" runat="server" Text=""></asp:Label>
    
        <br />
        <br />
    <asp:GridView ID="gvTrackList" runat="server" AutoGenerateColumns="False" 
            Width="473px">
        <Columns>
            <asp:BoundField DataField="Description" HeaderText="Item Description" />
            <asp:BoundField DataField="OrderedQty" HeaderText="Quantity Ordered" />
            <asp:BoundField DataField="DeliveredQty" HeaderText="Quantity Delivered" />
        </Columns>

    </asp:GridView>
            <br />
        <br />
      
    <div class="Container">
        <br />
        
        <div class="ToolBar">
           
        
            <cc1:ModalPopupExtender ID="ModalPopupExtender1" BackgroundCssClass="modalBackground"
                runat="server" CancelControlID="btnCancel" OkControlID="btnOkay" TargetControlID="lbtnShowAll"
                PopupControlID="Panel1" Drag="true" PopupDragHandleControlID="PopupHeader" OnOkScript="NewExpanseOkay();">
            </cc1:ModalPopupExtender>
            <div class="popup_Buttons" style="display: none">
                
                 <input id="btnOkay" value="Done" type="button" />
                <input id="btnCancel" value="Cancel" type="button" />
            </div>
            <div id="Panel1" style="display: none;" class="modalPopup">
                <iframe id="frameeditexpanse" frameborder="0" src="ViewDisbursementList.aspx" height="270" scrolling="auto"
                    ></iframe>
            </div>
           
        </div>
        <div class="GridContainer">
          
             
            <br />
       
        <br />
                               
              
        </div>
    </div>
    </ContentTemplate>
                <Triggers>
                    <asp:AsyncPostBackTrigger ControlID="Button1" EventName="Click" />
                </Triggers>
            </asp:UpdatePanel>
            </asp:Content>

<asp:Content ID="Content10" runat="server" 
    contentplaceholderid="ContentPlaceHolder3">
          
                </asp:Content>
<asp:Content ID="Content11" runat="server" 
    contentplaceholderid="ContentPlaceHolder4">
      
                </asp:Content>
<asp:Content ID="Content12" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
        
                </asp:Content>
<asp:Content ID="Content13" runat="server" 
    contentplaceholderid="ContentPlaceHolder6">
       
                </asp:Content>
<asp:Content ID="Content14" runat="server" 
    contentplaceholderid="ContentPlaceHolder7">

                </asp:Content>


